package com.ufm.util;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class ToolUtil {
	  
	public static boolean isNumeric(String str){
	  Pattern pattern = Pattern.compile("\\d+(\\.\\d+)?");
	  Matcher isNum = pattern.matcher(str);
	  if( !isNum.matches() ){
	     return false;
	  }
	  return true;
	}

}
